package caretaker

import (
	"bytes"
	resourcePool "gitee.com/dongmingchao/decent-ft/src/resource-pool"
	"gitee.com/dongmingchao/decent-ft/src/utils"
)

func ReadStashFileByMark(mark string) bytes.Buffer {
	return utils.ReadStashFile(mark, StashDir)
}

func ReadStashFile(f resourcePool.GFile) bytes.Buffer {
	return f.ReadStash(StashDir)
}

func getLocateByHash(hash string) string {
	return utils.GetLocateByHash(hash, StashDir)
}
